﻿namespace UsefulTools.Wpf
{
    using System;
    using System.Threading;
    using System.Threading.Tasks;
    using Core;

    public class ImmediateExecute : IDispatcherExecute
    {
        public TaskScheduler GuiScheduler
        {
            get
            {
                return TaskScheduler.Default;
            }
        }
        public SynchronizationContext GuiSyncContext
        {
            get
            {
                return SynchronizationContext.Current;
            }
        }
    }
}